﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="ExportFrmGroup.aspx.vb" Inherits="ExportFrmGroup" %>

<%@ Register Assembly="ISNet.WebUI.WebCombo" Namespace="ISNet.WebUI.WebCombo" TagPrefix="ISWebCombo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
     <script src="script/tinybox.js"></script>
    <script>
        function OnWebCombo1Select() {
            var code_combo = ISGetObject("WebCombo1");
            var txtbox = document.getElementById('<%= FileNameTxt.ClientID%>');
            if (code_combo.Value == 1) {
                txtbox.value = "BB_IO";
            }
            else if (code_combo.Value == 2) {
                txtbox.value = "BB_FundedProgram";
            }
            else if (code_combo.Value == 3) {
                txtbox.value = "BB_Data";
            }
            else if (code_combo.Value == 4) {
                txtbox.value = "BB_Revenue";
            }
        }
        function popupwait() {
            TINY.box.show({ iframe: 'loading.html', boxid: 'frameless', width: 300, height: 260, fixed: false, maskid: 'lightmask', maskopacity: 40, closejs: function () { closeJS() } });
            var importbtn = document.getElementById("<%= SearhBtn.ClientID%>");
            importbtn.style.display = "none";
        }
    </script>
    <div style="float: left; width: 98%; border: solid; border-color: gray; border-width: 1px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080; text-align: right; padding: 5px 5px 5px 5px;">
        <div style="text-align: right; margin-top: 5px;">
            <div align="left" style="width: 600px; float: left">
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>s
            </div>

            <div style="float: right;">
                <asp:ImageButton ID="SearhBtn" runat="server" ImageUrl="Icons/Export.png" ToolTip=" Export ข้อมูล" />		
            </div>
        </div>
    </div>
    <div style="float: left; width: 98%">
        <center>
 <div id="div1" runat="server" style=" width: 700px; border: solid; border-color: gray; border-width: 1px; margin-right: 10px; margin-top: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080; height: 150px;">
            
     
                <table>
                    <tr><td colspan="3" align="left"><strong>ข้อกำหนดการจัดทำ</strong><br /><br /></td></tr>
                    <tr><td width="30px"></td><td align="left"><strong>Source Version</strong></td><td align="left"><strong>Taget Version</strong></td><td align="left"><strong>ไฟล์ส่งออก</strong></td></tr>
                    <tr>
                        <td width="30px"></td>
                        <td>
                            <table>
                                <tr>
                                    <td width="30px"></td>
                                    <td width="30px">ปี</td>
                                     <td width="70px">
                                         <asp:TextBox ID="PlanYearsTxt" runat="server" Width="40px"></asp:TextBox></td>
                                     <td width="50px"> Version</td>
                                     <td width="70px">
                                         <asp:TextBox ID="FromVersionTxt" runat="server" Width="40px"></asp:TextBox></td>
                                    <td width="30px"></td>
                                </tr>

                            </table>
                        </td>
                        <td>
                            <table>
                                <tr>
                                    <td width="30px"></td>
                                    
                                     <td width="50px"> Version</td>
                                     <td width="70px">
                                         <asp:TextBox ID="ToVersionTxt" runat="server" Width="40px"></asp:TextBox></td>
                                    <td width="30px"></td>
                                </tr>

                            </table>

                        </td>
                         <td>
                            <table>
                                <tr>
                                    <td width="30px"></td>
                                    
                                     <td width="100px"> ประเภทไฟล์</td>
                                     <td width="200px">
                                          <ISWebCombo:WebCombo ID="WebCombo1" Width="150px" runat="server" UseDefaultStyle="True" DataTextField="Description" DataValueField="Code" Height="20px" OnInitializeDataSource="WebCombo1_InitializeDataSource" AllowWildCardSearch="true">
                                            <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" >
                                                <ClientSideEvents  OnAfterItemSelected="OnWebCombo1Select()"/>
                                            </LayoutSettings>
                                        </ISWebCombo:WebCombo>
                                         </td>
                                    <td width="30px"></td>
                                </tr>
                                <tr style="display:none">
                                    <td width="30px"</td>
                                    <td width="100px">ชื่อไฟล์</td>
                                    <td width="200px"><asp:TextBox ID="FileNameTxt" runat="server"></asp:TextBox></td>
                                    <td width="30px"></td>
                                </tr>
                            </table>

                        </td>
                    </tr>
                </table>
                </div>
            </center>
    </div>
    <%=scirpttext%>
    <asp:ScriptManager ID="Scriptmanager1" runat="server">
    </asp:ScriptManager>
</asp:Content>

